package com.huilian.tool.ali.applet.service;

import com.alibaba.fastjson.JSONObject;
import com.alipay.api.AlipayApiException;

import java.util.Map;

/**
 * @author: loong
 * @create: 2023-04-07 16:09
 **/
public interface AliAppletService {
    JSONObject getUserInfoShare(String code) throws AlipayApiException;

    Map<String, String> getPhoneNumber(String sign, String response) throws Exception;

    Map<String, String> getPhoneNumber(String sign, String response, String publicKey, String aesKey) throws Exception;

    String getSystemOauthToken(String code) throws AlipayApiException;
}
